<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MyISERN 1.3 - Add Researcher</title>
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	left:211px;
	top:340px;
	width:100px;
	height:100px;
	z-index:1;
}
#apDiv2 {
	position:absolute;
	left:304px;
	top:254px;
	width:100px;
	height:100px;
	z-index:2;
}
-->
</style>

</head>

<body>


</div>
<div id="logo">
<h1><a href="#">MyISERN 1.3</a></h1>
<c:if test="${not empty user}">
     <p style="font-weight:bold; font-size:small"><stripes:link href="Logout.action" event="logout" >Logout</stripes:link></p>
</c:if>
</div>
<div id="menu">
	<ul>
		<li class="current_page_item"><a href="index.jsp">Home</a></li>
    <li><stripes:link href="/Researchers.action" event="showAllResearchers" style="menu">View All Researchers</stripes:link></li>
    <li><stripes:link href="/Organizations.action" event="showAllOrganizations" style="menu">View All Organizations</stripes:link></li>
    <li><stripes:link href="/Collaborations.action" event="showAllCollaborations" style="menu">View All Collaborations</stripes:link></li>
	</ul>
</div>
<div id="page">
	<div id="page-bg">
	
	
	
		<!-- start content -->
		<div id="content">
		  <div class="post">
			<h2 class="title">New Researchers</h2>
			<p class="byline"><small>Enter information for the new researcher.<a href="#"></a></small></p>
      
      <stripes:form id="addSingleResearcherForm" action="/Researchers.action">
      <table border="1">
	      <tr>
					<td>Researcher Name:</td><stripes:errors/>
					<td><stripes:text name="researcher.name" size="31"/></td>
				</tr>
        
        <tr>
					<td>Researcher Organization:</td>
					<td><stripes:text name="researcher.organization" size="31"/></td>
				</tr>
				

				
        <tr>
					<td>Researcher Email:</td>
					<td><stripes:text name ="researcher.email" size="31"/></td>
				</tr>
				
				<tr>
					<td>Researcher Picture Link:</td>
					<td><stripes:text name="researcher.pictureLink" size="31"/></td>
				</tr>
				
				<tr>
					<td>ResearcherBio Statement:</td>
					<td><stripes:textarea name="researcher.bioStatement" cols="23" rows="5"/></td>
				</tr>
        </table>
 
        <table>
        <tr>
            <td><stripes:submit id="saveButton" name="saveResearcher" value="Save Changes"/></td>                
            <td><stripes:submit id="backButton" name="showAllResearchers" value="Back"/></td>
        </tr>
        </table>
        
      </stripes:form> 
    
      </div>
</div>
<!-- end content -->




		<!-- start sidebar -->
				<div id="sidebar">
			<ul>
				<li>
					<h2>Quick Links</h2>
					<ul>
              <li><a href="addResearcher.jsp">Add New Researcher</a></li>
              <li><a href="addOrganization.jsp">Add New Organization</a></li>
              <li><a href="addCollaboration.jsp">Add New Collaboration</a></li>
              <li><stripes:link href="/Report.action" event="showReport">Sanity Report</stripes:link></li>
              <li><a href="http://code.google.com/p/myisern-1-gold/">Contact Us!</a></li>
					</ul>
				</li>
				<li></li>
				<li>
					<h2>&nbsp;</h2>
			  </li>
		  </ul>
	  </div>
		<!-- end sidebar -->
		
		
		
		
		<div style="clear: both;">&nbsp;</div>
	</div>
</div>
<!-- end page -->
<div id="footer">
	<p>&copy;2007 All Rights Reserved.</p>
</div>
</body>
</html>
